h1 Listing sales_orders

table
  thead
    tr
      th Quotation
      th Code
      th Sales
      th Created by
      th Order income
      th Full paid
      th Full invoiced
      th Performance money
      th Stage
      th
      th
      th

  tbody
    - @sales_orders.each do |sales_order|
      tr
        td = sales_order.quotation_id
        td = sales_order.code
        td = sales_order.sales_id
        td = sales_order.created_by
        td = sales_order.order_income
        td = sales_order.full_paid
        td = sales_order.full_invoiced
        td = sales_order.performance_money
        td = sales_order.stage
        td = link_to 'Show', sales_order
        td = link_to 'Edit', edit_sales_order_path(sales_order)
        td = link_to 'Destroy', sales_order, data: { confirm: 'Are you sure?' }, method: :delete

br

= link_to 'New Order', new_sales_order_path
